package Computer_Builder_04.Builder;
import Computer_Builder_04.AbstractBuilder.ComputerBuilder;
import Computer_Builder_04.Product.Product;

public class LaptopBuilder extends ComputerBuilder {
    public void buildCPU() {
        this.computer.setCPU("组装笔记本电脑的CPU i7-14650HX");
    }

    public void buildRAM() {
        this.computer.setRAM("组装笔记本电脑的内存 16GB DDR4");
    }

    public void buildHDD() {
        this.computer.setHDD("组装笔记本电脑的硬盘 1T SSD");
    }

    public void buildMonitor() {
        this.computer.setMonitor("组装笔记本电脑的显示器 16.1寸 180Hz 2.5k屏");
    }

    public void buildHost() {
        this.computer.setHost("笔记本电脑无主机");
    }

    public Product getComputer() {
        System.out.println("组装笔记本电脑");
        return this.computer;
    }
}
